/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Microsoft
 * Date: 2022-11-21
 * Time: 21:22
 */
class Dog {
    public String name;
    public int age;

    public void eat() {
        System.out.println(name + "正在吃饭");
    }

    public void wangwang() {
        System.out.println(name + "正在汪汪叫");
    }
}

class Cat {
    public String name;
    public int age;

    public void eat() {
        System.out.println(name + "正在吃饭");
    }

    public void miaomiao() {
        System.out.println(name + "正在喵喵叫");
    }
}
public class Test {
}
















